//
//  XYTOrderListCell.h
//  XYTPayOrderSystem
//
//  Created by wupeng on 2017/8/24.
//  Copyright © 2017年 wupeng. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "XYTOrderListView.h"
#import "XYTOrderModel.h"

#define mainView_space 15.0f
#define mainView_Width kScreen_Width - mainView_space*2

@protocol XYTOrderListCellDelegate <NSObject>

- (void)onClickDetail:(XYTOrderModel *)model;

@end

@interface XYTOrderListCell : UITableViewCell<XYTOrderListViewDelegate>

@property (nonatomic, strong) XYTOrderListView *mainView;

@property (nonatomic, assign) id<XYTOrderListCellDelegate>delegate;

@property (nonatomic, strong) XYTOrderModel *orderModel;

/** 顶部线 默认显示*/
@property (nonatomic, strong) UIView *topLine;
/** 底部线 默认隐藏*/
@property (nonatomic, strong) UIView *bottomLine;


@end
